﻿

using System;
using System.ServiceModel;
using System.Runtime.Serialization;


namespace WCFModel
{
    

    [MessageContract]
    public class Teacher
    {
        [MessageBodyMember]
        public Int32 Id { get; set; }

        [MessageBodyMember]
        public string Name { get; set; }

        [MessageBodyMember]
        public Int32 Age { get; set; }

        [MessageBodyMember]
        public string Teach { get; set; }

        [MessageHeader]
        public string SeeeionId { get; set; }

        [MessageHeader]
        public string AppId { get; set; }
    }
}
